package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysRoom;

/**
 * 班级Service接口
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public interface ISysRoomService 
{
    /**
     * 查询班级
     * 
     * @param roomId 班级主键
     * @return 班级
     */
    public SysRoom selectSysRoomByRoomId(Long roomId);

    public SysRoom selectSysRoomByUserId(Long userId);

    public List<SysRoom> selectSysRoomByDeptId(Long deptId);
    /**
     * 查询班级列表
     * 
     * @param sysRoom 班级
     * @return 班级集合
     */
    public List<SysRoom> selectSysRoomList(SysRoom sysRoom);

    /**
     * 新增班级
     * 
     * @param sysRoom 班级
     * @return 结果
     */
    public int insertSysRoom(SysRoom sysRoom);

    /**
     * 修改班级
     * 
     * @param sysRoom 班级
     * @return 结果
     */
    public int updateSysRoom(SysRoom sysRoom);

    /**
     * 批量删除班级
     * 
     * @param roomIds 需要删除的班级主键集合
     * @return 结果
     */
    public int deleteSysRoomByRoomIds(String roomIds);

    /**
     * 删除班级信息
     * 
     * @param roomId 班级主键
     * @return 结果
     */
    public int deleteSysRoomByRoomId(Long roomId);
}
